package org.softmed.filehandling.selectors;

import java.io.File;
import java.util.List;
import java.util.jar.JarEntry;
import java.util.jar.JarFile;

/**
 * To be used by classes that select which files will be used for database
 * configuration. Used in ClassFinder.
 * 
 * @author guilherme
 * 
 */
public interface FileSelector {

	public boolean isFileSelected(String fileName, String pckgname)
			throws Throwable;

	public Class processFile(String fileName, String pckgname) throws Throwable;

	public Class processJarFile(JarFile jarFile, JarEntry jarEntry, String path)
			throws Throwable;

}
